Win32: call dnd exit when finalizing the display
authorPaolo Borelli <pborelli@gnome.org>
Tue, 15 Dec 2015 20:25:25 +0000 (21:25 +0100)
committerPaolo Borelli <pborelli@gnome.org>
Thu, 17 Dec 2015 16:18:02 +0000 (17:18 +0100)
Since we init dnd when opening the display, call the corresponding
exit function (which is unused at the moment) when finalizing the
display.

gdk/win32/gdkdisplay-win32.c

index b9897c0240327339d1d3a8dbecdc6fe14b964eb7..c963b52b121af86a87b013ba6776007b99a9c992 100644 (file)
@@ -736,6 +736,7 @@ gdk_win32_display_finalize (GObject *object)
   GdkWin32Display *display_win32 = GDK_WIN32_DISPLAY (object);
 
   _gdk_win32_display_finalize_cursors (display_win32);
+  _gdk_win32_dnd_exit ();
 
   G_OBJECT_CLASS (gdk_win32_display_parent_class)->finalize (object);
 }